//
//  NSNumber+Increment.m
//  FunnyVideo
//
//  Created by 李鑫 on 15/10/16.
//  Copyright © 2015年 NewEggTech. All rights reserved.
//

#import "NSNumber+Increment.h"

@implementation NSNumber (Increment)
- (NSNumber *)increment{
    return [NSNumber numberWithUnsignedInteger:([self unsignedIntegerValue]+1)];
}

- (NSNumber *)decrement{
    return [NSNumber numberWithUnsignedInteger:([self unsignedIntegerValue]-1)];
}
@end
